crypto/cipher.gcmFallback.tagSize (field)
11 uses
crypto/cipher (current package)
gcm.go#L220: return &gcmFallback{cipher: cipher, nonceSize: nonceSize, tagSize: tagSize}, nil
gcm.go#L229: tagSize int
gcm.go#L237: return g.tagSize
gcm.go#L251: ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
gcm.go#L279: if g.tagSize < gcmMinimumTagSize {
gcm.go#L283: if len(ciphertext) < g.tagSize {
gcm.go#L286: if uint64(len(ciphertext)) > uint64((1<<32)-2)*gcmBlockSize+uint64(g.tagSize) {
gcm.go#L290: ret, out := sliceForAppend(dst, len(ciphertext)-g.tagSize)
gcm.go#L303: tag := ciphertext[len(ciphertext)-g.tagSize:]
gcm.go#L304: ciphertext = ciphertext[:len(ciphertext)-g.tagSize]
gcm.go#L308: if subtle.ConstantTimeCompare(expectedTag[:g.tagSize], tag) != 1 {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |